﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace RTracker.Models.ErrorLog
{
    public static class ELErrorDict
    {
        //try later SortedDictonary<>
        public static readonly Dictionary<int, string> DbErrorText_Type = new Dictionary<int, string>
        {
            //{10, ""},   //reserved
            {11, "IsExist"},
            {12, "IsNull"}
        };
        public static readonly Dictionary<int, string> DbErrorText_Models = new Dictionary<int, string>
        {
            //{10, ""},   //reserved
            {20, ""},        //Root Model
            {21, ""},
            {30, ""}        //Root Model
        };
        public static readonly Dictionary<int, string> DbErrorText_Arguments = new Dictionary<int, string>
        {
            {10, ""},
        };


        //try later SortedDictonary<>
        public static readonly Dictionary<int, string> UserErrorText_Type = new Dictionary<int, string>
        {
            {10, "Message : "},
            {11, ""},
            {12, ""}
        };
        public static readonly Dictionary<int, string> UserErrorText_Message = new Dictionary<int, string>
        {
            {10, "Please check your username or password."},
            {11, "Your account is not activated. Please try again later."},
            {12, "Your account has been de-activated. Please contact admin for more detail."},
            {13, "Your account's validity has expired. Please contact admin for more detail."},
            {14, "Your account has been blocked. Please contact admin for more detail."},
        };

    }
}